package com.wc.test.bean;

/**
 * 封装用户表
 * 
 * @author ysh
 */
public class User {

	public static final int PAGE_SIZE = 5; // 每一页显示几行数据
	public static final String ASC = "asc"; //升序
	public static final String DESC = "desc"; //降序
	private int id;// 用户主键id
	private String username;// 用户名称
	private String password;// 用户密码

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public User(int id, String username, String password) {
		super();
		this.id = id;
		this.username = username;
		this.password = password;
	}

	public User() {
		super();
	}

	@Override
	public String toString() {
		return "User [id=" + id + ", username=" + username + ", password=" + password + "]";
	}

	
}
